package com.lsl.factory_method.example2.method;

import lombok.RequiredArgsConstructor;

/**
 * 武器类型
 *
 * @author Zed
 * @description
 * @date 2023/1/8 14:53
 */
@RequiredArgsConstructor
public enum WeaponType {
    //短剑
    SHORT_SWORD("short sword"),

    //标枪
    SPEAR("spear"),

    //斧头
    AXE("axe"),

    UNDEFINED("");

    private final String title;

    @Override
    public String toString() {
        return title;
    }
}
